/*
 * @Date: 2020-11-27 18:39:26
 * @LastEditors: 小枫
 * @description: description
 * @LastEditTime: 2020-11-27 18:44:25
 * @FilePath: \stu-nest\src\modules\users\users.entity.ts
 */
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity()
export class UsersEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ length: 255 })
  username: string;

  @Column({ length: 255 })
  password: string;
}
